package com.lingyue.entity.module.es;

/**
 * ES全局索引名
 *
 * @author deep.wu
 * @version 1.0 on 2020/4/1 14:11.
 */
public class EsIndexConstant {

    /**
     * 类型名，高版本es已经逐渐废弃类型概念，默认为_doc
     */
    public static final String TYPE_NAME = "_doc";

    /**
     * 索引名 @Deprecated OPPORTUNITIES_INDEX = "opportunities";
     */
    public static final String OPPORTUNITIES_INDEX = "new_opportunities";

    /**
     * 索引名 @Deprecated CUSTOMER_INDEX = "customer";
     */
    public static final String CUSTOMER_INDEX = "new_customer";

}
